{% extends 'layout.html' %}
{% load rbac %}

{% block content %}
    <form class="form-horizontal" method="post" novalidate>
        {% csrf_token %}
        <div class="form-group">
            <label class="col-sm-2 control-label">密码：</label>
            <div class="col-sm-9">
                {{ form.password }}
                <span style="color: red;">{{ form.password.errors.0 }}</span>
            </div>

        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">确认密码：</label>
            <div class="col-sm-9">
                {{ form.confirm_password }}
                <span style="color: red;">{{ form.confirm_password.errors.0 }}</span>
            </div>

        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-9">
                <input type="submit" value="提 交" class="btn btn-primary"><span style="color: green">{{ success }}</span>
            </div>

        </div>
    </form>
{% endblock %}

